package com.qyhl.module_practice.rank.team;


import com.qyhl.webtv.commonlib.entity.civilized.PracticeTeamBean;

import java.util.List;

public class PracticeTeamRankPresenter implements PracticeTeamRankContract.PracticeTeamRankPresenter {
    private PracticeTeamRankActivity mView;
    private PracticeTeamRankModel mModel;

    PracticeTeamRankPresenter(PracticeTeamRankActivity mView) {
        this.mView = mView;
        this.mModel = new PracticeTeamRankModel(this);
    }

    @Override
    public void getList(String page, int type) {
        mModel.getList(page, type);
    }

    @Override
    public void setList(List<PracticeTeamBean> beanList, boolean isMore) {
        mView.setList(beanList, isMore);
    }

    @Override
    public void setError(String msg, boolean isMore) {
        mView.setError(msg, isMore);
    }
}
